home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
090
/
nrpd.arc
/
NRPD.DOC
< prev
Wrap
Text File
|
1985-06-27
|
7KB
|
167 lines
Non-Resident Phone Directory (NRPD)
------------------------------------
Non-Resident Phone Directory is a program that was written because
I wanted to write some kind of a program and a friend of mine wanted a
phone list program that would not create any compatability problems when
running under IBM's TopView.
The program was written in my spare time using Borland International's
Turbo Pascal 2.0 on a Compaq Portable using IBM's PC-DOS 2.1.
The type of file that Non-Resident Phone Directory uses as a data file
is just an ordinary ASCII text file just like that used by Borland's very
own SIDEKICK. This type of file can be created with any text editor. A
few guideline are in order though:
1) The MAXIMUM length of ANY line should be 77 characters, otherwise
the line counter will get out of synch because of the program
trying to write the entire line.
2) The format is basically freeform except that the FIRST character
of the LAST name should be in the FIRST column of the text file.
These guidelines are for use if you want to use the SORT option.
Example:
Columns: 1...5....0....5....0....5....0....5....0....5....0....5....
Smith, John 999-555-1212 Work
3) The program will assume an extension of .DIR for all files unless
the user includes his own extension, or a period after specifying
a file when no extension is desired.
4) The program checks the NRPD.CNF file for the drive, directory, and
the file that it loads. If you plan on using NRPD on a different
machine, it is a good idea to not copy NRPD.CNF to the new machine.
4) The maximum number of lines that NRPD will read is 250. If a
file that is longer than 250 lines is specified, it will be trun-
cated at 250 lines. This limit is hard-coded in the program and
may change. The reason for not making it any longer is to conserve
memory. If you feel that it should be longer or shorter, drop me
a line.
Version
-------
0.10: The initial version of the program. It has the ability to
load a phone list and to scroll up and down through the list.
It could also jump to the beginning or end of the list as well
as to page up and page down. 2-21-85
0.11 This version added a Configuration File. The config file
contains a file name, a path, and background, text and border
colors. The program looks for the config file upon boot up
and, if not found, it uses default values. Whenever the user
changes the phone list file, the program creates and writes
this information to a new config file. This means that the
next time the program is run, it will automatically load the
file the user was last viewing. Although, not implemented at
this point, the same concept is planned for the path and the
various screen colors. 2-22-85
0.12 This version includes full support for PC-DOS subdirectories.
It also writes the path back to the config file just as it
did for the file name. 2-23-85
0.13 This version has a search feature. The user can input a string
and the program will search for that string starting at column
number 1. If the user would like to continue to search on that
string starting at the last find, he may do that also. 2-24-84
0.14 FINALLLLLY! Another version. Gosh, where do I start. The
program was basically rewritten. The search routine was
completely rewritten. The input for 'New File', 'New Path',
and 'Search For' are "windowed" and you can now "edit" your
input. A full screen editor that is mostly bug free has been
provided in the form of an edit mode. You can also save your
edited changes in the old file or in a new file. And if the
file that you save to already exists, it will rename the old
file to one with an extension of .BAK. The search is now in
the form of a search mode and you can search up as well as
down. Hope you like it. 3-23-85
0.15 Oh Boy! Now we can SORT! Very straightforward and very fast.
3-24-85
0.16 Well, we have another version. Let's see. F10 will get you a
list of all the .DIR files on the current drive/subdirectory.
Alt-F10 will allow you to change the original colors that NRPD
comes configured at. F9 will insert a line and put the cursor
at the beginning of the new line (in Edit Mode). F1 gives us
Help and F7 will print the file for us. All of the functions
except dialing are now implemented that I originally planned
on including. The editor still has a few bugs but hopefully
I can get those worked out without to much trouble. Anyway,
the next version will probably not include any new functions,
just some polishing up of the user interface and corrections
of any bugs that I find. A dialer will probably not become
implemented because I have no modem and therefore no way to
test that possible function. 3-28-85
0.17 Yet another version. This version just gives the user a
sample file when an NRPD.CNF file is not present. 4-3-85
0.18 TURBO PASCAL 3.0!!! Yes, this version is compiled in 3.0.
No new functions are included, just cleaning up some old or
inefficient code. 4-18-85
I hope that you like this program. If you find that it is useful to
you, please send a $10.00 donation. In any case, feel free to use this
program and to distribute this program to any friends that you have.
I declare a Copyright on NRPD to the effect that no one else can use
the routines that I developed and used within the source code of NRPD for
sale in another software product and no one else may recieve any form of
monetary compensation for the distribution of NRPD.
If you have any comments or suggestions, feel free to drop me a line.
If you would like a custom version of NRPD, send me a letter telling me
what you would like in your own version (Recieving at least $10.00 in a
donation would make me much more receptive to any requests for a custom
version of NRPD).
In any case, I will continue to develop NRPD as time permits. I find
it a challange and an educational experience. New versions of NRPD can
be recieved by either sending me a post-paid diskette or keeping your
eyes peeled to the local PC bulletin boards.
Michael K. Schinkel
(C) 1985 5260 Wexford Rd.
College Park, Ga. 30349
rd Rd.
College Park, Ga. 30349